package com.shop.technicalservice.dao.role;

import java.util.List;

import com.shop.technicalservice.model.role.Functions;

public interface FunctionsDao {
	
	public Functions save(Functions transientInstance) throws Exception;
	
	public void delete(Functions persistentInstance) throws Exception;
	
	public List findAll() throws Exception;
	
	public Functions merge(Functions detachedInstance) throws Exception;
	
	public Functions findById(java.lang.Integer id)  throws Exception;
	
	public List findByExample(Functions instance)  throws Exception;
	
	public List findByProperty(String propertyName, Object value) throws Exception;
	
	public void attachDirty(Functions instance)  throws Exception;
	
	public void attachClean(Functions instance)  throws Exception;
	public List findByUrl(Object url)  throws Exception;
	
	
	public List findByName(Object name)  throws Exception;
}

